﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.Serialization;
using System.Web.Script.Serialization;
using PBOffice.Models;
using PBOffice.BLL;

public partial class PersonalManager_Dept : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string dept = Request.Form["dept"];
        if (dept != null)
        {
           List<Position> list=new PosManager().GetPosByDept("产品设计中心");
           string josnStr = new JavaScriptSerializer().Serialize(list);
           Response.Write(josnStr);
        }
        else
        {
            Response.Write("false");
        }
    }
}